package com.mk.Service;

import com.mk.Entity.Blog;
import com.mk.Entity.queryObject;

import java.util.List;

public interface IBlogService {
    List<Blog> queryAll(queryObject queryObject);
    List<Blog> queryByTagId(queryObject queryObject);
    List<List<Blog>> queryBlogByTime(List<String> strings);
    List<String> queryAllTime(queryObject queryObject);
    List<String> queryTime();
    Blog queryOne(Long bid);
    Integer queryCount(queryObject queryObject);
    void deleteBlog(Long did);

    void insertBlog(Blog blog);
    void updateBlog(Blog blog);
}
